import 'antd/dist/antd.css';
import { Routes, Route } from 'react-router-dom';


import LoginPage from './page/LoginPage/LoginPage';
import RegisterPage from './page/RegisterPage/RegisterPage';
import ForgetPasswordPage from './page/ForgetPasswordPage/ForgetPassword';
import FindPasswordPage from './page/ForgetPasswordPage/FindPassword';

import IntroductionPage from './page/IntroductionPage/IntroductionPage'
import AdminPage from './page/AdminPage/AdminPage'
import BecomeAdminPage from './page/BecomeAdminPage/BecomeAdminPage'

import OSPage from './page/ClassPage/OSPage/OSPage'
import CPage from './page/ClassPage/CPage/CPage'
import CdesignPage from './page/ClassPage/CdesignPage/CdesignPage'
import FDSPage from './page/ClassPage/FDSPage/FDSPage'
import ADSPage from './page/ClassPage/ADSPage/ADSPage'


function App() {
  return (
    <Routes>
      <Route path='/register' element={<RegisterPage />} />
      <Route path='/forget_password' element={<ForgetPasswordPage />} />
      <Route path='/find_password' element={<FindPasswordPage />} />
      <Route path='/introduction' element={<IntroductionPage />} />
      <Route path='/admin' element={<AdminPage />} />
      <Route path='/become' element={<BecomeAdminPage />} />

      <Route path='/OS' element={<OSPage />} />
      <Route path='/C' element={<CPage />} />
      <Route path='/Cdesign' element={<CdesignPage />} />
      <Route path='/FDS' element={<FDSPage />} />
      <Route path='/ADS' element={<ADSPage />} />

      <Route index exact path='/' element={<LoginPage />} />
    </Routes>
  );
}

export default App;